Replication data:

Chen, Chong; Roberts, Jordan; Adhikari, Shikshya; Asal, Victor; Beardsley, Kyle; Gonzales, Edward; Jahanbani, Nakissa; James, Patrick; Lobell, Steven; Ripsman, Norrin; Silverstone, Scott; Wijk, Anne van, 2022, "Replication Data for: Tipping Points: Challenges in Analyzing International Crisis Escalation", https://doi.org/10.7910/DVN/JOZCV5, Harvard Dataverse

Citation: 

Chong Chen, Jordan Roberts, Shikshya Adhikari, Victor Asal, Kyle Beardsley, Edward Gonzales, Nakissa Jahanbani, Patrick James, Steven Lobell, Norrin M. Ripsman, Scott Silverstone, and Anne van Wijk, “Tipping Points: Challenges in Analyzing International Crisis Escalation,” International Studies Review, Forthcoming.


Instructions: Please check the ReadMe file first. There are four folders within the “Replication” Folder.

Please first set the working directory by running : setwd("Replication")


Code: The R code for all figures and analysis; Please run them in the following order: 1_Modeling.R, 2_Figures_1-3.R, 3_Table_1.R 
	- (1) “figure_setup.R”: R code for helping make figures and tables
        - (2) “1_Modeling.R”: R code for running SPDM and RF models; Please note that the models in this code file may run a couple of days. You can use the outputs from the Results folder
        - (3) “2_Figures_1-3.R”:  R code for making Figures 1-3
        - (4) “3_Table_1.R”: R code for Table 1

Data:  The data folder includes data file for all models
	- “data_full.RData”:  Main data used for all of our models


Results: The Results folder include three model outputs that are used for making tables and figures
	- (1) “basket_spdm.RData”: SPDM outcome for Figure 2
	- (2) “basket_spdmlowpolity.RData”: SPDM outcome for Figure 3
        - (3) “RF_base.RData”: RF outcome for Figure 1 and Table 1

Figure:  a folder to store all the figures in the main text

